.page {
  display: flex;
}
.page a {
  display: block;
  padding: 0.3rem 0.8rem;
  border: 1px solid #ddd;
  margin-left: -1px;
  color: #555555;
  transition: 0.3s;
}
.page a:first-child {
  border-radius: 3px 0 0 3px;
}
.page a:last-child {
  border-radius: 0 3px  3px 0;
}
.page a.bg,
.page a:hover {
  background-color: #3498db;
  color: #fff;
}
